This XFCN is very simple to use. See TKHyperText in the ToolKit‚Ñ¢ XCMDs section for details.
Basically, the XFCN watches your cursor movements over a LOCKED text field (scrolling fields too). When it sees the cursor over any styling you specified it returns to you all the text from beginning to end of that styling run. The results are placed in the global gTKHText.
You can use a mouseDown/Up handler to examine the global and process an action based on its contents.